@charset "utf-8";

html,
body {
  height: 100%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
header {
  margin-bottom: 40px;
}
header .logo {
  height: 80px;
  border-radius: 12px;
  margin-bottom: 8px;
}

header .welcome {
  font-size: 14px;
  color: #999999;
  letter-spacing: 1px;
}

/* 项目 */
.projects {
  margin-bottom: 20px;
}
.projects .title {
  margin-bottom: 12px;
  font-size: 14px;
  color: #555555;
}
.radio-group {
  display: flex;
  letter-spacing: 1px;
}
.radio-item {
  margin-right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: #999999;
  transition: all 0.15s linear;
}
.radio-item::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-right: 6px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #eee;
}
.radio-item:hover {
  color: #4169e1;
}
.radio-item.checked {
  color: #4169e1;
}
.radio-item.checked::before {
  border-color: #4169e1;
}
/* 文件选择框 */
.file-wrap {
  flex-shrink: 0;
  min-width: 300px;
  padding: 0 12px;
  height: 35px;
  background: #eee;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.file-wrap .file-tips {
  font-size: 12px;
  color: #888888;
  letter-spacing: 2px;
}
.file-wrap .file-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
}
[type='file'] {
  width: 100%;
  position: absolute;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* 上传状态 */
.upload-status {
  font-size: 12px;
  margin-top: 30px;
}
.upload-status .loading {
  color: #666666;
}
.upload-status .success {
  color: #3cb371;
}
.upload-status .fail {
  color: #ff4500;
}

/* 链接  */
.upload-res {
  margin-top: 20px;
  display: none;
}

.upload-res.show {
  display: block;
}
.upload-link {
  padding: 6px 12px;
  background: #eee;

  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s linear;
  color: #555;
}
.upload-link:hover {
  background: #66666680;
}
.upload-tips {
  font-size: 12px;
  margin-top: 8px;
  letter-spacing: 1px;
  color: #666;
}
.upload-img {
  max-width: 400px;
  margin-top: 30px;

  cursor: pointer;
  transition: all 0.3s linear;
}

/* 版权 */
.copy-right {
  transition: all 0.25s linear;
  margin-top: 20px;
  padding-bottom: 100px;
  font-size: 14px;
  color: #888888;
  letter-spacing: 2px;
}

/* 图片预览 */
.preview {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.preview.show {
  display: flex;
}
.preview .preview-img {
  max-width: 600px;
}
.preview .icon-close {
  width: 20px;
  cursor: pointer;
  position: absolute;
  top: 50px;
  right: 50px;
}
